package com.example.presentshopping.config.bean;

import java.util.List;

public class SubsidiaryBean {


    /**
     * code : 0
     * msg : 获取积分变动成功
     * data : {"list":[{"type":2,"status":2,"total":"99.00","from_type":7,"create_time":"2020-11-11 11:55:58"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:52:19"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:49:28"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:42:47"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:42:08"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:41:18"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:40:21"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:36:53"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:35:43"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:31:00"}],"count":30}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"type":2,"status":2,"total":"99.00","from_type":7,"create_time":"2020-11-11 11:55:58"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:52:19"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:49:28"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:42:47"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:42:08"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:41:18"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:40:21"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:36:53"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:35:43"},{"type":2,"status":2,"total":"1.00","from_type":7,"create_time":"2020-11-11 11:31:00"}]
         * count : 30
         */

        private int count;
        private List<ListBean> list;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * type : 2
             * status : 2
             * total : 99.00
             * from_type : 7
             * create_time : 2020-11-11 11:55:58
             */

            private int type;
            private int status;
            private String total;
            private int from_type;
            private String create_time;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public int getFrom_type() {
                return from_type;
            }

            public void setFrom_type(int from_type) {
                this.from_type = from_type;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }
        }
    }
}
